#ifndef PARSER_H
#define PARSER_H
#include <list>
#include <vector>
#include <string>
#include <cstdlib >
#include <iostream>
class Parser
{
    private:
        enum commands
        {
            COMMENT = 0,
            CREATE_MAP = 1,
            FILL_BACKGROUND = 2,
        };
    public:
        struct COMMAND
        {
            commands command;
            std::string str1;
            int val1, val2 ;
        };

        Parser();
        COMMAND parsecommand(std::string);
        std::list<COMMAND> parsefile(const char *file);


};

#endif // PARSER_H
